<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <!--bootstrap插件-->
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <link href="/static/plugin/bootstrap/bootstrap-3.3.7-dist/css/bootstrap.min.css" rel="stylesheet"/>
    <link href="/static/plugin/jo/joUI.css" rel="stylesheet"/>
    <!--字体插件-->
    <link href="/static/plugin/font-awesome-4.7.0/css/font-awesome.min.css" rel="stylesheet"/>
    <link href="/static/plugin/layui-2.4.3/css/layui.css" rel="stylesheet"/>
    <!--ztree-->
    <link href="/static/plugin/zTree/css/metroStyle/metroStyle.css" rel="stylesheet"/>
    <!--common-->
    <link href="/static/css/common.css" rel="stylesheet"/>

    <title>空白模板</title>
</head>
<body class="skin-default">

<div class="container-fluid">
    <div class="row">
        <div class="col-xs-12 col-lg-12 col-md-12 col-sm-12">
            <table class="table table-bordered table-hover" id="mainList" dataUrl="{URL_UMS}ums/dept/getPage" deleteUrl="" formUrl="">
                <col field="id" type="checkbox" width="5%" align=""/>
                <col field="name" type="radio" title="单选框" width="5%" align=""/>
                <col field="code" title="编码" width="15%" align="" event="click" />
                <col field="name" title="机构名称" width="20%" align="" tips="name" />
                <col field="wholeName" title="NAME全路径" width="30%" align=""  tips="123" />
                <col field="type" title="类型" width="10%" align=""  />
                <col field="[=jo.formatDate('{createTime}')]" title="创建时间" width="10%" align=""  order="createTime"/>
                <col field="num" title="显示顺序" width="10%" align=""  order="num"/>
            </table>
            <a href="javascript:;" onclick="alert(jo.getCheckBoxValue('id'))">获取复选框的值</a>
            <br/>
            <a href="javascript:;" onclick="alert(jo.getCheckBoxValue('name'))">获取单选框的值</a>
        </div>
    </div>
</div>

<!--配置信息-->
<script src="/static/js/config.js"></script>
<!--jquery-->
<script src="/static/plugin/jquery/jquery-3.3.1.js"></script>
<script src="/static/plugin/jquery/jquery.cookie.js"></script>
<!--bootstrap-->
<script src="/static/plugin/bootstrap/bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>
<!--[if lt IE 9]>
<script src="/static/plugin/other/html5shiv.js"></script>
<script src="/static/plugin/other/respond.min.js"></script>
<![endif]-->
<!--layui-->
<script src="/static/plugin/layui-2.4.3/layui.all.js"></script>
<!--ztree-->
<script src="/static/plugin/zTree/js/jquery.ztree.all.js"></script>
<!--jo-->
<script src="/static/plugin/jo/jo.js"></script>
<script src="/static/plugin/jo/jo-adapt.js"></script>
<script src="/static/plugin/jo/jo-page-view.js"></script>
<script src="/static/plugin/jo/jo-page-form.js"></script>
<script src="/static/plugin/jo/jo-listener.js"></script>
<!--common-->
<script src="/static/js/common.js"></script>
<script type="text/javascript">
    $(function(){
        Grid('mainList').loadData();
    });
</script>

</body>
</html>
